Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/rust_daily_news/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Rust 视界 | Telegram Webview: rust_daily_news/5874 -
Telegram Group & Telegram Channel
crates.io 上的 API token scope现在处于公开 Beta 测试期!

https://crates.io/settings/tokens/new

该功能允许用户选择 token 可以调用哪些 endpoints 以及可以影响哪些crates。此功能用于改善 CI 场景(例如在推送 git 标签后自动发布 crates)。

RFC 中定义的 endpoint scope:

- publish-new: 允许发布新的 crate , 对应 endpoint: PUT /crates/new (new crates) PUT /crates/new
- publish-update: 允许用户更新现有 crate , 对应 endpoint: PUT /crates/new (existing crates) PUT /crates/new
- yank: 允许撤销和取消撤销用户创建的现有版本, 对应 endpoint: DELETE or PUT /crates/:crate_id/:version/unyank
- change-owners: 允许邀请新的所有者或删除现有的所有者, 对应 endpoint: DELETE or PUT /crates/:crate_id/owners
- legacy: 允许访问 crates.io 上的所有endpoint,除了创建新token,例如在实施此 RFC 之前创建的token。 , 对应 endpoint: 除了 PUT /me/tokens 之外的一切


https://blog.rust-lang.org/inside-rust/2023/05/09/api-token-scopes.html



tg-me.com/rust_daily_news/5874
Create:
Last Update:

crates.io 上的 API token scope现在处于公开 Beta 测试期!

https://crates.io/settings/tokens/new

该功能允许用户选择 token 可以调用哪些 endpoints 以及可以影响哪些crates。此功能用于改善 CI 场景(例如在推送 git 标签后自动发布 crates)。

RFC 中定义的 endpoint scope:

- publish-new: 允许发布新的 crate , 对应 endpoint: PUT /crates/new (new crates) PUT /crates/new
- publish-update: 允许用户更新现有 crate , 对应 endpoint: PUT /crates/new (existing crates) PUT /crates/new
- yank: 允许撤销和取消撤销用户创建的现有版本, 对应 endpoint: DELETE or PUT /crates/:crate_id/:version/unyank
- change-owners: 允许邀请新的所有者或删除现有的所有者, 对应 endpoint: DELETE or PUT /crates/:crate_id/owners
- legacy: 允许访问 crates.io 上的所有endpoint,除了创建新token,例如在实施此 RFC 之前创建的token。 , 对应 endpoint: 除了 PUT /me/tokens 之外的一切


https://blog.rust-lang.org/inside-rust/2023/05/09/api-token-scopes.html

BY Rust 视界




Share with your friend now:
tg-me.com/rust_daily_news/5874

View MORE
Open in Telegram


Rust 视界 Telegram | DID YOU KNOW?

Date: |

A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. “While doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.

Among the actives, Ascendas REIT sank 0.64 percent, while CapitaLand Integrated Commercial Trust plummeted 1.42 percent, City Developments plunged 1.12 percent, Dairy Farm International tumbled 0.86 percent, DBS Group skidded 0.68 percent, Genting Singapore retreated 0.67 percent, Hongkong Land climbed 1.30 percent, Mapletree Commercial Trust lost 0.47 percent, Mapletree Logistics Trust tanked 0.95 percent, Oversea-Chinese Banking Corporation dropped 0.61 percent, SATS rose 0.24 percent, SembCorp Industries shed 0.54 percent, Singapore Airlines surrendered 0.79 percent, Singapore Exchange slid 0.30 percent, Singapore Press Holdings declined 1.03 percent, Singapore Technologies Engineering dipped 0.26 percent, SingTel advanced 0.81 percent, United Overseas Bank fell 0.39 percent, Wilmar International eased 0.24 percent, Yangzijiang Shipbuilding jumped 1.42 percent and Keppel Corp, Thai Beverage, CapitaLand and Comfort DelGro were unchanged.

Rust 视界 from br


Telegram Rust 视界
FROM USA